package com.ibm.util;

import java.util.Map.Entry;

import com.ibm.cps.processors.AbstractProcessor;

public class FeedbackEntry implements Entry<AbstractProcessor, String> {

	AbstractProcessor key;
	String value;

	public FeedbackEntry(AbstractProcessor key, String message) {
		this.key = key;
		this.value = message;
	}

	@Override
	public AbstractProcessor getKey() {
		return key;
	}

	@Override
	public String getValue() {
		return value;
	}

	@Override
	public String setValue(String value) {
		this.value = value;
		return value;
	}

}
